import request from '@/utils/request'

export function getZonePositionList(params) {  //  获取布点信息列表接口
  return request({
    url: '/zonePosition/list',
    method: 'get',
    params
  })
}
export function createZonePosition(params) {  //  新增区域定义
  return request({
    url: '/zonePosition/insert',
    method: 'post',
    data: params
  })
}
export function updateZonePosition(params) {  //  更新区域定义
  return request({
    url: '/zonePosition/update',
    method: 'post',
    data: params
  })
}
export function deleteZonePosition(params) {  //  删除区域定义
  return request({
    url: '/zonePosition/delete',
    method: 'post',
    data: params
  })
}